package com.lx.backstagemanagement;

import com.github.tobato.fastdfs.FdfsClientConfig;
import org.apache.ibatis.session.SqlSessionFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

@EnableAsync
@Import(FdfsClientConfig.class)
@SpringBootApplication
@EnableDiscoveryClient
@EnableWebSecurity
/**
 * @author lee
 */
public class BackstageManagementApplication {
    private SqlSessionFactory sqlSessionFactory;

    public static void main(String[] args) {

        SpringApplication.run(BackstageManagementApplication.class, args);
    }


}
